﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK_WMS.Model.Models.LyModel
{
    [Table("T_MaintenanceWork")]
    public class MaintenanceWork:BaseEntity
    {
        public int EquipmentId {  get; set; }//装备Id

        [StringLength(30)]
        public string MaintenanceNumber {  get; set; }//维修工单号
        [StringLength(30)]
        public string EquipmentName {  get; set; }//装备名称
        [StringLength(30)]
        public string EquipmentCode {  get; set; }//装备编码
        [StringLength(30)]
        public string EquipmentBatchNo {  get; set; }//装备批次
        [StringLength(30)]
        public string EquipmentDesc { get; set; }//维修描述
        public decimal EquipmentAmount { get; set; }//装备金额
        [StringLength(30)]
        public string MaintenancePerson {  get; set; }//报修人
       
        public DateTime MaintenanceDate {  get; set; }//报修时间
        [StringLength(30)]
        public string Approver {  get; set; }//审批人
        
        public DateTime ApproverDate { get;set; }//审批时间
        public int Status {  get; set; }//状态
        [StringLength(30)]
        public string MaintenancePeople {  get; set; }//维修人
        [StringLength(30)]
        public string MaintenanceContent {  get; set; }//维修内容
        [StringLength(30)]
        public string ReplaceParts { get; set; }//更换零件

        public decimal EstimatedCost { get; set; }//预估费用
        public DateTime MaintenanceTime { get; set; }//维修时间
        [StringLength(30)]
        public string Note {  get; set; }//备注
        /// <summary>
        /// 1.报修人2.审批人3.维修人
        /// </summary>
        public int? Operation {  get; set; }//操作


    }
}
